/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package common;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import java.util.LinkedList;
import java.util.List;

/**
 *
 * @author Jhonny
 */
@XStreamAlias("palc")
public class PALC {

    @XStreamAlias("nroPalc")
    private Long nroPalc;
    @XStreamAlias("idTienda")
    private Long idTienda;
    @XStreamImplicit(itemFieldName="articulo")
    private List<ArticuloStock> articulos;

    public PALC() {
        articulos = new LinkedList<ArticuloStock>();
    }

    public List<ArticuloStock> getArticulos() {
        return articulos;
    }

    public void setArticulos(List<ArticuloStock> articulos) {
        this.articulos = articulos;
    }

    public Long getIdTienda() {
        return idTienda;
    }

    public void setIdTienda(Long idTienda) {
        this.idTienda = idTienda;
    }

    
    public Long getNroPalc() {
        return nroPalc;
    }

    public void setNroPalc(Long nroPalc) {
        this.nroPalc = nroPalc;
    }

    public void addArticulo(ArticuloStock articulo) {
        articulos.add(articulo);
    }

}
